{include file="common/top"}
<!-- 引入左侧 -->
{include file="common/left"}
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
     <section>
      <h2><strong style="color:grey;">页面展示权限仅展示自己的权限</strong></h2>
      <div class="page_title">
       <h2 class="fl">权限展示</h2>   
      </div>
      <table class="table">
       <tr>
        <th>权限名</th>
        <th>权限控制器</th>
        <th>权限方法名</th>
        <th>权限分类</th>
        <th>操作</th>
       </tr>
       <?php foreach ($info as $key => $value) {?>
       <tr>
        <td style="width:265px;"><?php echo str_repeat('&nbsp;&nbsp;&nbsp;&nbsp;',$value['level']).$value['nodeName'] ?></td>
        <td><?php echo $value['nodeController'] ?></td>
        <td><?php echo $value['nodeAction'] ?></td>
        <td>
			<?php if ($value['level']==0) {
				echo "顶级分类";
			}else{
				echo "一级分类";
			} ?>
        </td>
        <td>
         <a href="#">表内链接</a>
         <a href="#" class="inner_btn">表内按钮</a>
        </td>
       </tr>
       <?php } ?>
      </table>
     </section>
 </div>
</section>
</body>
</html>